package com.moblie.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.moblie.dao.MerchantDao;
import com.moblie.domain.Merchant;
import com.moblie.service.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * 描述:
 *
 * @author 景远超
 * @create 2020-05-30 16:35
 */
@Transactional
@Service(interfaceClass = MerchantService.class)
public class MerchantServiceImpl implements MerchantService {
    @Autowired
    private MerchantDao merchantDao;
    @Override
    public Merchant findMerchantDetailsById(Integer id) {
        Merchant merchant = merchantDao.findMerchantDetailsById(id);
        return merchant;
    }
}
